vtd: Simplify acpi_dmar_init().
authorKeir Fraser <keir.fraser@citrix.com>
Wed, 28 Oct 2009 17:27:09 +0000 (17:27 +0000)
committerKeir Fraser <keir.fraser@citrix.com>
Wed, 28 Oct 2009 17:27:09 +0000 (17:27 +0000)
commite99b5708b6b0da89d5e9ecd5f0097a4a72be872b
tree66b9e2845d6139abebde1959670086d3f0882a12
parent952ae2717b43eaef6bca3fc5b984d19df6f0bbeb
vtd: Simplify acpi_dmar_init().

No need to check force_iommu, as that is done later in common code.

Also no need to clear iommu_enabled as again this gets checked
later. Furthermore doing it here, from a non-Intel-specific callsite,
breaks other vendors' IOMMU support.

Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
xen/drivers/passthrough/vtd/dmar.c